from django.contrib import admin
from django.urls import path
from app01.views.v2 import views as views2
from app01.views.v3 import views as views3

urlpatterns = [
    path('admin/', admin.site.urls),
    path('login/', views2.LoginView.as_view()),  # 登录取OPENID
    path('goods/', views2.GoodsView.as_view()),  # 取商品展示页用的数据
    path('paymentV2/', views2.PaymentV2View.as_view()),  # 支付环节(V2版本)
    path('pay/notify/', views2.NotifyView.as_view()),    # 支付返回通知(V2版本)

    path('paymentV3/', views3.PaymentV3View.as_view()),  # 支付环节(V3版本)
    path('paymentV3/callback/', views3.PaymentCallbackView.as_view()),  # 支付返回通知(V3版本)

]